package com.niit.service.Impl;

import com.niit.dao.ExamPaperDao;
import com.niit.model.ExamPaper;
import com.niit.service.ExamPaperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExamPaperServiceImpl implements ExamPaperService {
    @Autowired
    private ExamPaperDao examPaperDao;
    @Override
    public List<ExamPaper> getList(Long id) {
        return examPaperDao.selectExamPaperList(id);
    }

    @Override
    public List<ExamPaper> getList1(Long id) {
        return examPaperDao.selectExamPaperList1(id);
    }
    @Override
    public List<ExamPaper> getList2(Long id) {
        return examPaperDao.selectExamPaperList2(id);
    }

    @Override
    public ExamPaper selectExamPaperId(Long id) {
        return examPaperDao.selectExamPaperById(id);
    }
    @Override
    public ExamPaper selectExamPaperId1(Long id) {
        return examPaperDao.selectExamPaperById1(id);
    }
    @Override
    public ExamPaper selectExamPaperId2(Long id) {
        return examPaperDao.selectExamPaperById2(id);
    }
}
